package cn.quang.search.admin.entity.vo.scene;

import java.util.List;

public class SearchSceneContextRequest {
    private long sceneId;
    private List<ContextRequest> contexts;

    public static final class ContextRequest {
        private String dic;
        private String name;
        private int fieldType;
        private String associateRequestParam;
        private boolean notNull;

        public String getDic() {
            return dic;
        }

        public void setDic(String dic) {
            this.dic = dic;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getFieldType() {
            return fieldType;
        }

        public void setFieldType(int fieldType) {
            this.fieldType = fieldType;
        }

        public String getAssociateRequestParam() {
            return associateRequestParam;
        }

        public void setAssociateRequestParam(String associateRequestParam) {
            this.associateRequestParam = associateRequestParam;
        }

        public boolean isNotNull() {
            return notNull;
        }

        public void setNotNull(boolean notNull) {
            this.notNull = notNull;
        }
    }

    public long getSceneId() {
        return sceneId;
    }

    public void setSceneId(long sceneId) {
        this.sceneId = sceneId;
    }

    public List<ContextRequest> getContexts() {
        return contexts;
    }

    public void setContexts(List<ContextRequest> contexts) {
        this.contexts = contexts;
    }
}
